package cn.getech.data.development.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author luoxi
 * @create 2020/11/16 14:46
 */
@Data
@TableName("data_sync_table_record")
public class DataSyncTableRecord extends BaseEntity implements Serializable {

    @ApiModelProperty(value = "任务id",name = "dataInfoId")
    private Integer dataInfoId;

    @TableField(value = "table_id")
    private Integer tableId;

    @ApiModelProperty(value = "源表名",name = "originTable")
    private String originTable;

    @ApiModelProperty(value = "预生成表名",name = "previewTable")
    private String previewTable;

    @TableField(value = "is_sync")
    @ApiModelProperty(value = " 1:已同步 2:未同步",name = "isSync")
    private Integer isSync;

}
